<template>
    <div class="comp-success">
        <modal :show="true">
            <div class="modal-header">
                <a href="javascript:;" class="close" @click="hide()"><span>&times;</span></a>
                <span class="modal-title" >您的申訴已創建成功</span>
            </div>
            <div class="modal-body">
                <span>客服會在1-2個工作日與您聯繫，請保持手機暢通，感謝您的支持。</span>
            </div>
            <div class="modal-footer">
                <span class="ui-btn" @click="hide()">知道了</span>
            </div>
        </modal>
    </div>
</template>
<script type="text/babel">

    import modal from '../../../../../grsc-base/component/Modal.vue';

    export default {
        components: {
            modal
        },
        data() {
            return {

            };
        },
        props: {},
        created() {

        },
        methods: {
            hide() {
                this.$emit('successCallback');
            }
        }
    }
</script>

<style lang="sass" rel="stylesheet/scss">
    .comp-success .modal .modal-dialog {
        .modal-body{
            padding: 8px 24px 32px;
        }
        .modal-footer{
            text-align: center;
            >.ui-btn{
                width: 124px;
            }
        }
    }
</style>